import 'package:flutter/material.dart';
import 'package:get/get.dart';

import '../../../../../../../../global/user/user_info.dart';
import '../../../pro_question_exsit/subs/create_ques/state.dart';

class InventoryCreateState {
  // title
  final _title = "".obs;
  set title(value) => _title.value = value;
  get title => _title.value;

  final nameCtrl = TextEditingController();
  final resulveCtrl = TextEditingController();

  late List<ItemModel> quess;

  List<UserInfo>? users;

  int leadIndex = -1;
  UserInfo? lead;
  List<int> helpIndexs = [];
  List<UserInfo>? helps;
  String? time;
  DateTime? date;

  int status = 0;

  InventoryCreateState() {
    quess = [
      ItemModel(name: '未开始', isSelected: true),
      ItemModel(name: '进行中'),
      ItemModel(name: '已完成'),
      ItemModel(name: '已终止'),
    ];
  }
}
